package cn.aticow.springboot.mapper;

import cn.aticow.springboot.bean.Task;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper//该备注标注该接口或者类是一个Mapper层
@Repository//该备注表明该类是一个持久层的类
public interface TaskMapper {
     List<Task> findAllTask();
     int updateStatusById(Task task);
}
